/**
 * output package name
 */
package com.kingdee.eas.ec.project.scence;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class TimeSegEnum extends StringEnum
{
    public static final String AM_VALUE = "1";
    public static final String PM_VALUE = "2";
    public static final String NIGHT_VALUE = "3";

    public static final TimeSegEnum Am = new TimeSegEnum("Am", AM_VALUE);
    public static final TimeSegEnum Pm = new TimeSegEnum("Pm", PM_VALUE);
    public static final TimeSegEnum Night = new TimeSegEnum("Night", NIGHT_VALUE);

    /**
     * construct function
     * @param String timeSegEnum
     */
    private TimeSegEnum(String name, String timeSegEnum)
    {
        super(name, timeSegEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static TimeSegEnum getEnum(String timeSegEnum)
    {
        return (TimeSegEnum)getEnum(TimeSegEnum.class, timeSegEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(TimeSegEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(TimeSegEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(TimeSegEnum.class);
    }
}